package com.blackrock.das.service.marshalling;

import com.fasterxml.jackson.core.JsonProcessingException;

/**
 * The Interface JsonMarshallingService.
 */
public interface JsonMarshallingService {

    /**
     * Marshall.
     *
     * @param obj the obj
     * @return the string
     * @throws JsonProcessingException the json processing exception
     */
    public String marshall(Object obj) throws JsonProcessingException;

    /**
     * Marshall.
     *
     * @param obj the obj
     * @param prettyPrint the pretty print
     * @return the string
     * @throws JsonProcessingException the json processing exception
     */
    public String marshall(Object obj, boolean prettyPrint) throws JsonProcessingException;

}
